package kotlinquanweizhinan.chapt06.let

class Tavern {
}

fun main() {
    /** let
     *
     */
    var beverage  = readLine()?.let{
        if(it.isNotBlank()){
            it.capitalize()
        }else{
            "Buttered Ale"
        }
    }
    beverage = null
    println(beverage)
}